class  Animal119{
    void shout(){
        System.out.println("动物叫");
    }
    public String toString(){
        return "我是一个动物类";
    }
}

public class Example19 {
    public static void main(String[] args) {
        Animal18 animal = new Animal18();
        System.out.println(animal.toString());
    }
}
